class Person:
    def __init__(self,name,age):
        self.name = name
        self.age = age


a = Person(name="小明",age=12)

print(a.name)